package com.kmproject.haifu.mvp.model.entity.beans;

import java.util.List;

public class GooglePlaceInfoBean {

    /**
     * html_attributions : []
     * next_page_token : CqQCFQEAAIvLJ5C7NYdkWX-QeP93SEYl2-M3BsnyT4lzgVWC42Cyan6IUctRhhjoTKHKHdFER-VY8nc_gM-Ma1fZrKynXqOZAqE7n074oHF5acmpwTxUvXVS7pXYqYXGDKPJjqF8EAKsEnh3LdbSIv2wiL-wUKbrV6vCPX-BYWq_hlf4ieDer3Gia_w5ifr26Ty5GuLfUR0cwG5ZtLqwd1zrfSmQiyhodetP9LaXwDRg70wnz7idVJdSRnanh_z4vXTYpblQcTYPlX4xkd9-vQomhdYNlgcheK6T2n9RqLu9dyYkS7CxBtYzyoYE2zs-oO6lGaCBlVCu5RBM15thJzXMLH3K6pFCS9j9UZOrU16NbwUjoV16XHci-_pwoAzIuUxaPKXQ2xIQNkZatylwDLjB5gfPQwqb7hoULAanV6NEt7YhlTimMcxrvSLMzDI
     * results : [{"geometry":{"location":{"lat":25.015422,"lng":102.724465},"viewport":{"northeast":{"lat":25.0170721302915,"lng":102.7263074302915},"southwest":{"lat":25.0143741697085,"lng":102.7236094697085}}},"icon":"https://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png","id":"c55795106666d2d15eb723c101f126b1b6a55cb1","name":"成昆线","place_id":"ChIJ5dcBe62G0DYR0gFlcfyrS-M","plus_code":{"compound_code":"2P8F+5Q 中国云南省昆明市官渡区","global_code":"7PQ42P8F+5Q"},"reference":"ChIJ5dcBe62G0DYR0gFlcfyrS-M","scope":"GOOGLE","types":["point_of_interest","establishment"],"vicinity":"昆明市官渡区"}]
     * status : OK
     */

    private String next_page_token;
    private String status;
    private List<?> html_attributions;
    private List<ResultsBean> results;

    public String getNext_page_token() {
        return next_page_token;
    }

    public void setNext_page_token(String next_page_token) {
        this.next_page_token = next_page_token;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<?> getHtml_attributions() {
        return html_attributions;
    }

    public void setHtml_attributions(List<?> html_attributions) {
        this.html_attributions = html_attributions;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * geometry : {"location":{"lat":25.015422,"lng":102.724465},"viewport":{"northeast":{"lat":25.0170721302915,"lng":102.7263074302915},"southwest":{"lat":25.0143741697085,"lng":102.7236094697085}}}
         * icon : https://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png
         * id : c55795106666d2d15eb723c101f126b1b6a55cb1
         * name : 成昆线
         * place_id : ChIJ5dcBe62G0DYR0gFlcfyrS-M
         * plus_code : {"compound_code":"2P8F+5Q 中国云南省昆明市官渡区","global_code":"7PQ42P8F+5Q"}
         * reference : ChIJ5dcBe62G0DYR0gFlcfyrS-M
         * scope : GOOGLE
         * types : ["point_of_interest","establishment"]
         * vicinity : 昆明市官渡区
         */

        private GeometryBean geometry;
        private String icon;
        private String id;
        private String name;
        private String place_id;
        private PlusCodeBean plus_code;
        private String reference;
        private String scope;
        private String vicinity;
        private List<String> types;

        public GeometryBean getGeometry() {
            return geometry;
        }

        public void setGeometry(GeometryBean geometry) {
            this.geometry = geometry;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPlace_id() {
            return place_id;
        }

        public void setPlace_id(String place_id) {
            this.place_id = place_id;
        }

        public PlusCodeBean getPlus_code() {
            return plus_code;
        }

        public void setPlus_code(PlusCodeBean plus_code) {
            this.plus_code = plus_code;
        }

        public String getReference() {
            return reference;
        }

        public void setReference(String reference) {
            this.reference = reference;
        }

        public String getScope() {
            return scope;
        }

        public void setScope(String scope) {
            this.scope = scope;
        }

        public String getVicinity() {
            return vicinity;
        }

        public void setVicinity(String vicinity) {
            this.vicinity = vicinity;
        }

        public List<String> getTypes() {
            return types;
        }

        public void setTypes(List<String> types) {
            this.types = types;
        }

        public static class GeometryBean {
            /**
             * location : {"lat":25.015422,"lng":102.724465}
             * viewport : {"northeast":{"lat":25.0170721302915,"lng":102.7263074302915},"southwest":{"lat":25.0143741697085,"lng":102.7236094697085}}
             */

            private LocationBean location;
            private ViewportBean viewport;

            public LocationBean getLocation() {
                return location;
            }

            public void setLocation(LocationBean location) {
                this.location = location;
            }

            public ViewportBean getViewport() {
                return viewport;
            }

            public void setViewport(ViewportBean viewport) {
                this.viewport = viewport;
            }

            public static class LocationBean {
                /**
                 * lat : 25.015422
                 * lng : 102.724465
                 */

                private double lat;
                private double lng;

                public double getLat() {
                    return lat;
                }

                public void setLat(double lat) {
                    this.lat = lat;
                }

                public double getLng() {
                    return lng;
                }

                public void setLng(double lng) {
                    this.lng = lng;
                }
            }

            public static class ViewportBean {
                /**
                 * northeast : {"lat":25.0170721302915,"lng":102.7263074302915}
                 * southwest : {"lat":25.0143741697085,"lng":102.7236094697085}
                 */

                private NortheastBean northeast;
                private SouthwestBean southwest;

                public NortheastBean getNortheast() {
                    return northeast;
                }

                public void setNortheast(NortheastBean northeast) {
                    this.northeast = northeast;
                }

                public SouthwestBean getSouthwest() {
                    return southwest;
                }

                public void setSouthwest(SouthwestBean southwest) {
                    this.southwest = southwest;
                }

                public static class NortheastBean {
                    /**
                     * lat : 25.0170721302915
                     * lng : 102.7263074302915
                     */

                    private double lat;
                    private double lng;

                    public double getLat() {
                        return lat;
                    }

                    public void setLat(double lat) {
                        this.lat = lat;
                    }

                    public double getLng() {
                        return lng;
                    }

                    public void setLng(double lng) {
                        this.lng = lng;
                    }
                }

                public static class SouthwestBean {
                    /**
                     * lat : 25.0143741697085
                     * lng : 102.7236094697085
                     */

                    private double lat;
                    private double lng;

                    public double getLat() {
                        return lat;
                    }

                    public void setLat(double lat) {
                        this.lat = lat;
                    }

                    public double getLng() {
                        return lng;
                    }

                    public void setLng(double lng) {
                        this.lng = lng;
                    }
                }
            }
        }

        public static class PlusCodeBean {
            /**
             * compound_code : 2P8F+5Q 中国云南省昆明市官渡区
             * global_code : 7PQ42P8F+5Q
             */

            private String compound_code;
            private String global_code;

            public String getCompound_code() {
                return compound_code;
            }

            public void setCompound_code(String compound_code) {
                this.compound_code = compound_code;
            }

            public String getGlobal_code() {
                return global_code;
            }

            public void setGlobal_code(String global_code) {
                this.global_code = global_code;
            }
        }
    }
}
